<?php $this->headTitle('Users'); ?>
<?php $this->headStyle()->captureStart(); ?>
/* mz-dl-form */
    .mz-dl-form fieldset {min-width: 35em; margin-bottom: 1em; padding: 0 1em;
        border-width: 2px 0 0; border-style:groove}
    .mz-dl-form legend {font-weight: bold; font-size:1.4em; padding: 0 0.5em;
        margin: 0; color: #000}
    .mz-dl-form dl {clear: left; margin: 0.5em 0; padding: 0}
    .mz-dl-form dt {float: left; width: 15em}
    .mz-dl-form dt label {display: block; width: 100%; font-weight: bold}
    .mz-dl-form dt label:hover {background: #f9f9f9; color:#000}
    .mz-dl-form dd {margin-left:15em}
    .mz-dl-form .text, .mz-dl-form .thick {width: 95%}
    .mz-dl-form .thick {font-size: 1.4em}
<?php $this->headStyle()->captureEnd(); ?>

<?php $this->placeholder('tabs')->captureStart(); ?>
<ul>
    <li class="active-tab"><a href=""><span>Users</span></a></li>
    <li><a href=""><span>Roles</span></a></li>
</ul>
<?php $this->placeholder('tabs')->captureEnd(); ?>

<h1>User Administration</h1>
<p>Here you can edit a user's information, manage his roles and set various other options</p>

<form class="mz-dl-form" method="<?php echo $this->form->getMethod(); ?>" action="<?php echo $this->form->getAction(); ?>" enctype="<?php echo $this->form->getEncType(); ?>">
<fieldset>
    <legend>Select a user:</legend>
    <dl>
        <dt>
            <label for="<?php echo $this->form->criteria->getId(); ?>">
                <?php echo $this->form->criteria->getLabel(); ?>
                <?php echo $this->form->criteria->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->form->criteria->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="<?php echo $this->form->query->getId(); ?>">
                <?php echo $this->form->query->getLabel(); ?>
                <?php echo $this->form->query->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->form->query->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dd class="actions">
            <?php echo $this->form->search->renderViewHelper(); ?>
        </dd>
    </dl>
</fieldset>
</form>
<form class="mz-dl-form" method="<?php echo $this->reg->getMethod(); ?>" action="<?php echo $this->reg->getAction(); ?>" enctype="<?php echo $this->reg->getEncType(); ?>">
<fieldset>
    <legend>Create a new account: </legend>
    <dl>
        <dt>
            <label for="<?php echo $this->reg->username->getId(); ?>">
                <?php echo $this->reg->username->getLabel(); ?>
                <?php echo $this->reg->username->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->reg->username->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="<?php echo $this->reg->email->getId(); ?>">
                <?php echo $this->reg->email->getLabel(); ?>
                <?php echo $this->reg->email->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->reg->email->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="<?php echo $this->reg->password->getId(); ?>">
                <?php echo $this->reg->password->getLabel(); ?>
                <?php echo $this->reg->password->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->reg->password->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dt>
            <label for="<?php echo $this->reg->passwordConfirm->getId(); ?>">
                <?php echo $this->reg->passwordConfirm->getLabel(); ?>
                <?php echo $this->reg->passwordConfirm->renderErrors(); ?>
            </label>
        </dt>
        <dd>
            <?php echo $this->reg->passwordConfirm->renderViewHelper(); ?>
        </dd>
    </dl>
    <dl>
        <dd>
            <?php echo $this->reg->create->renderViewHelper(); ?>
        </dd>
    </dl>
</fieldset>
</form>